package com.xidata.dict.client.embedded.aop;

import com.xidata.dict.client.embedded.DataStructure;

import java.lang.annotation.*;

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.ANNOTATION_TYPE})
public @interface CodeTranslate {
    DataStructure structure() default DataStructure.Object;

    Class<?> clazz();

    String codeType();

    String codeProperty() default "code";

    String valueProperty() default "name";

    String childrenProperty() default "children";

    String data() default "";
}
